package com.dyc.caradvertisting.ui.fmt.register;


import com.njh.tools.base.BaseModel;
import com.njh.tools.base.BasePresenter;
import com.njh.tools.base.BaseView;

import rx.Observable;

/**
 * Home抽象类
 */
public interface RegisterContract {
    interface Model extends BaseModel {
        /**
         * 用户登录接口
         * @param path
         * @param act
         * @param param
         * @param sign
         * @param strtime
         * @return
         */
       Observable reqUserRegister(String path,
                               String act,
                               String param,
                               String sign,
                               String strtime);
        /**
         * 注册短信
         * @param path
         * @param act
         * @param param
         * @param sign
         * @param strtime
         * @return
         */
        Observable reqUserSendMessage(String path,
                                      String act,
                                      String param,
                                      String sign,
                                      String strtime);
    }


    interface View extends BaseView {
        //关闭
      void finish();
    }

    abstract class Presenter extends BasePresenter<Model, View> {
        public abstract void reqUserRegister(String param);
        public abstract void reqUserSendMessage(String param);
    }
}